package com.yuyakaido.android.cardstackview.sample;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.FrameLayout;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/**
 * User: newSalton@outlook.com
 * Date: 2019/11/30 16:19
 * ModifyTime: 16:19
 * Description:
 */
public class TestFrameLayout extends FrameLayout {
    public TestFrameLayout(@NonNull Context context) {
        super(context);
    }

    public TestFrameLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public TestFrameLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    // @Override
    // public boolean onInterceptTouchEvent(MotionEvent ev) {
    //     getParent().requestDisallowInterceptTouchEvent(true);
    //     return super.onInterceptTouchEvent(ev);
    // }
}
